/* ===============================
   ROOT VARIABLES
================================ */
:root {
  --card-radius: 6px;
  --card-gap: 12px;
  --card-bg: #ffffff;
  --text-dark: #111;
  --text-muted: #7a7a7a;
  --price-color: #000;
}

/* ===============================
   PRODUCT GRID
================================ */
.product-card-grid,
.product-listing-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  padding: 12px;
}

/* ===============================
   PRODUCT CARD
================================ */
.product-card,
.sh-product-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden;
}

/* ===============================
   PRODUCT IMAGE
================================ */
.product-card-image-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f6f6f6;
  position: relative;
  overflow: hidden;
}

.product-card-image,
.pr-long-card .pr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   PRODUCT INFO
================================ */
.product-card-info,
.product-card-price,
.__className_337041 {
  color: #000;
}

.product-card-info h2,
.product-card-info .product-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}

.product-card-info .price {
  font-size: 16px;
  color: #388e3c;
  font-weight: 900;
  margin-top: 5px;
}

/* ===============================
   WISHLIST ICON
================================ */
.product-card .wishlist-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  z-index: 30;
}

/* ===============================
   IMAGE WRAPPER
================================ */
.main-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  background-color: #fff;
}

.main-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* ===============================
   GLOBAL SAFETY
================================ */
html,
body {
  overflow-x: hidden;
}

.cat-wrapper,
.category-section,
.collection-wrapper,
.image-scroll,
.mobile-banner-row,
.mobile-scroll-gallery {
  background-color: #111213;
}

.heading-title,
.shop-all-link {
  color: #fff !important;
}

/* ===============================
   PRODUCT DETAIL IMAGE FIX
================================ */
.product-detail-grid .image-gallery-container .swiper,
.product-detail-grid .image-gallery-container .swiper-wrapper,
.product-detail-grid .image-gallery-container .swiper-slide,
.product-detail-grid .image-gallery-container .main-image-wrapper,
.product-detail-grid .image-gallery-container .main-image-wrapper img {
  background-color: #ffffff !important;
}

/* ===============================
   RESPONSIVE – MOBILE
================================ */
@media (max-width: 480px) {
  .product-card-grid,
  .product-listing-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 8px;
    gap: 8px;
  }

  .img-wrapper img,
  .mobile-banner-row img,
  .collection-item img {
    width: 100%;
    height: auto;
    max-height: 50vh;
  }
}

/* ===============================
   RESPONSIVE – TABLET
================================ */
@media (min-width: 600px) {
  .product-card-grid,
  .product-listing-container {
    grid-template-columns: repeat(3, 1fr);
    padding: 8px;
  }

  .product-card-info .price {
    font-size: 14px;
  }
}

/* ===============================
   RESPONSIVE – DESKTOP
================================ */
@media (min-width: 768px) {
  .product-card-grid,
  .product-listing-container {
    grid-template-columns: repeat(4, 1fr);
    padding: 12px;
  }

  .product-card-info h3 {
    font-size: 16px;
    font-weight: 700;
  }

  .product-card-price {
    font-size: 16px;
    font-weight: 700;
  }
}

@media (min-width: 1024px) {
  .product-card-grid,
  .product-listing-container {
    gap: 16px;
    padding: 20px;
  }
}

/* ===============================
   SHOPIFY & WIDGET CLEANUP
================================ */
.sh-shoopy-html-page > div,
.sh-shoopy-html-page .border-inherit {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  border: none !important;
}

.sh-shoopy-html-page .text-zinc-900,
.ref-widg.sh-referral-widget,
.woot-widget-powered-by {
  display: none !important;
}

/* ===============================
   WOOT WIDGET FIX
================================ */
.woot-widget-bubble {
  position: fixed !important;
  bottom: 64px !important;
  right: 16px !important;
  z-index: 999999 !important;
}

@media (max-width: 768px) {
  .woot-widget-holder {
    width: 80% !important;
    height: 60vh !important;
    bottom: 10px !important;
    right: 10px !important;
    transform: translateY(45%) !important;
  }
}

/* ===============================
   HEADER ICON COLORS
================================ */
@media (min-width: 769px) {
  .icon-button svg,
  .icon-button svg path,
  .utility-icons svg,
  .search-icon svg {
    stroke: #000000 !important;
    fill: none !important;
  }
}

/* ===============================
   RELATED PRODUCTS TITLE FIX
================================ */
.related-products.my-6 h2.heading-title,
.related-products.my-6 h2.heading-title * {
  color: #000000 !important;
}
@media (max-width: 768px) {

  /* Header container */
  .main-header.page-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* LEFT – menu button */
  .mobile-menu-button {
    flex: 0 0 auto;
  }

  /* CENTER – logo */
  .beauty-link.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* RIGHT – icons */
  .mobile-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
}
/* ===============================
   FORCE FULL WIDTH BANNER (SAFE)
================================ */

/* Break container only for banner */
.banner.page-container,
.banner-collection.page-container,
.banner-root,
.banner-page-container,
div.banner.page-container {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Swiper safety */
.banner .swiper,
.banner .swiper-wrapper,
.banner .swiper-slide {
  width: 100vw !important;
}

/* Image must cover edge-to-edge */
.banner img,
.hero-banner img {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
